<script language="javascript">
function Pending(value)
{
window.location.href = 'pending_laptop.php?rq='+value+'';
}
</script>

<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td bgcolor="#cccccc" width="200" valign="top"><!-- variable RHS Menu -->
<?php 
	if($_SESSION['user_groups_id']=="2")
	{
		require('templates/menu2.php');
	}
	elseif($_SESSION['user_groups_id']=="3")
	{
		require('templates/menu3.php');
	}
	else
	{
		require('templates/menu7.php');
	}
	
?>				
</td>
				
				
<td valign="top" style="padding:30px 30px 30px 30px;">


<table width="600" border="0">
<tr>
  <td><img src="heading/Pending-Laptops_03.jpg"/></td>
</tr>
<tr>
   <td>&nbsp;</td>
</tr>   
  <tr>
    <td><b>Request Type:&nbsp;</b>
            <select size="1" name="request_type" id="request_type" onchange="Pending(this.value);">
              <option value="0" selected="selected">Select</option>
              <option value="1" <?php if($_REQUEST['rq']=='1'){echo 'selected="selected"';};?>>Approved But Not Dispatched</option>
              <option value="2" <?php if($_REQUEST['rq']=='2'){echo 'selected="selected"';};?>>Not Approved</option>
            </select>
          </td>
	 </tr>
    <tr>
  <td>&nbsp;</td>
  </tr>
    <tr>
  <td><?php echo GetPendingLaptops($_REQUEST['rq']);?>
  <br />
  <br/>
  <?php echo GetPendingAccessories1($_REQUEST['rq']);?></td>
 </tr>

  
  
</table>




<!--content-->
   <!--end content-->
    </td>
	</tr>
  </table>
  </td>
  </tr>
</table>
